package com.platform.dao.shop;

import com.platform.dao.BaseDao;
import com.platform.entity.shop.ProductEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Dao
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-30 14:31:21
 */
@Mapper
public interface ProductDao extends BaseDao<ProductEntity> {
    int updatePriceByGoodsId(@Param("retailPrice") BigDecimal retailPrice,@Param("marketPrice") BigDecimal marketPrice,@Param("id") Integer id);


    List<ProductEntity>  queryListByGoodId(@Param("goodId") Integer goodId);



}
